local keywordHandler = KeywordHandler:new()
local npcHandler = NpcHandler:new(keywordHandler)
NpcSystem.parseParameters(npcHandler)

function onCreatureAppear(cid)				npcHandler:onCreatureAppear(cid) 			end
function onCreatureDisappear(cid) 			npcHandler:onCreatureDisappear(cid) 			end
function onCreatureSay(cid, type, msg) 			npcHandler:onCreatureSay(cid, type, msg) 		end
function onThink() 					npcHandler:onThink() 					end

local shopModule = ShopModule:new()
npcHandler:addModule(shopModule)
npcHandler:setMaxIdleTime(180)

--===== BUYABLE IN THE SHOP =====--
--shopModule:addBuyableItem({''}, 			item_id, price,	'')
shopModule:addBuyableItem({'ring of healing'},		2214,2000,	'ring of healing')
shopModule:addBuyableItem({'energy ring'},		2167,2000,	'energy ring')
shopModule:addBuyableItem({'time ring'},		2169,2000,	'time ring')
shopModule:addBuyableItem({'stealth ring'},		2165,4500,	'stealth ring')
shopModule:addBuyableItem({'sword ring'},		2207,2000,	'sword ring')
shopModule:addBuyableItem({'axe ring'},			2208,2000,	'axe ring')
shopModule:addBuyableItem({'club ring'},		2209,2000,	'club ring')


--===== SELLABLE IN THE SHOP =====--
--shopModule:addSellableItem({''}, 			item_id, price,	'')
shopModule:addSellableItem({'ring of the sky'},		2123,5000,	'ring of the sky')
shopModule:addSellableItem({'gold ring'},		2179,2500,	'gold ring')


npcHandler:addModule(FocusModule:new())
